﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SRV.ViewModel.Email
{
    public class ActivateModel
    {
        [Required(ErrorMessage = "Email不能为空")]
        [DataType(DataType.EmailAddress)]
        [EmailAddress(ErrorMessage = "电子邮件格式不正确")]
        public string EmailAddress { get; set; }
        public string Code { get; set; }
        public bool hasValid { get; set; }
    }
}
